package com.ys.service.news;

import java.util.List;
import java.util.Map;

import org.springframework.ui.Model;

import com.ys.dto.DtreeSqlDto;
import com.ys.service.sys.YsMenuService;
import com.ys.service.sys.YsMenuService.ToResortDto.RowDto;
import com.ys.vo.R;

import lombok.AllArgsConstructor;
import lombok.Data;

public interface NewsItemService {

	DtreeSqlDto dtree();
	
	R add(Map<String, Object> params, Long menuId) throws Exception;

	R edit(Map<String, Object> params) throws Exception;
	
	R deleteTrue(Long id) throws Exception;
	
	R resort(String rows);
}
